<% form_tag session_path do -%>
  <p><label for="username">username:</label>
  <%= text_field_tag 'username', {}, :size => 10 %></p>

  <p><label for="password">password:</label>
  <%= password_field_tag 'password', {}, :size => 10 %></p>

  <p><label for="remember_me">remember me:</label>
  <%= check_box_tag 'remember_me' %></p>

  <p><%= submit_tag 'login' %></p>
<% end -%>